import axios from '@/libs/request'

// 事权列表
export const getGovPowersList = (data) => {
  return axios.request({
    url: '/api/as/setting/govpowers/getGovPowersList',
    data: data,
    type: 'post'
  })
}
// 新增基础
export const insertSstGovBase = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstGovBaseService/insertSstGovBase',
    data: data,
    type: 'post'
  })
}
// 修改基础
export const updateSstGovBase = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstGovBaseService/updateSstGovBase',
    data: data,
    type: 'post'
  })
}
// 基础列表
export const getGovBaseList = (data) => {
  return axios.request({
    // url: '/api/ac/setting/sstGovBaseService/selectSstGovBaseList',
    url: '/api/as/setting/govbase/getGovBaseList',
    data: data,
    type: 'post'
  })
}
// 获取单个基础信息
export const selectSstGovBaseById = (data) => {
  return axios.request({
    url: '/api/ac/setting/sstGovBaseService/selectSstGovBaseById',
    data: data,
    type: 'post'
  })
}
// 修改填报状态
export const updateFillState = (data) => {
  return axios.request({
    url: '/api/as/setting/govpowers/updateFillState',
    data: data,
    type: 'post'
  })
}
